package com.wx.spring.ioc.factory;

import com.wx.spring.exception.SpringIocException;

/**
 * @author wx
 * @Description: bean工厂接口
 * @date 2019/1/8 000813:36
 */
public interface BeanFactory {
    
    /**
     * @description: 获取bean
     * @author: wx
     * @date: 2019/1/8 0008
     * @param beanId
     * @return: java.lang.Object
     */
    Object getBean(String beanId) throws SpringIocException;
    /**
     * @description: 获取bean
     * @author: wx
     * @date: 2019/1/11 0011
     * @param c
     * @return: java.lang.Object
     */
    Object getBean(Class c) throws SpringIocException;
}
